﻿using System;

namespace LoungeRepo.Contracts.Core
{
    public interface ILoungeRepository : IDisposable
    {
        void Store(object nonEntityRoot, string id);
        void Store(object nonEntityRoot, string id, string parition);
        void Store(object entityRoot);

        T Load<T>(string id);
        T Load<T>(string id, string partition);

        void Delete(string id);
        void Delete(string id, string partition);
    }
}
